Skip to content

feat(redis): support data_collection option - #6960

Merged
ericapisani merged 1 commit into
masterfrom
py-2587-redis
Jul 30, 2026
Merged

feat(redis): support data_collection option#6960
ericapisani merged 1 commit into
masterfrom
py-2587-redis

Conversation

@ericapisani

Copy link
Copy Markdown
Member

Gate inclusion of non-key Redis command arguments in span descriptions and pipeline command data behind the data_collection.database_query_data option, which takes precedence over send_default_pii when set. When the option is disabled, non-key arguments are omitted from the command description; when unset, it defaults to enabled.

Adds test coverage for the enabled/disabled/default cases, precedence over send_default_pii, and the pipeline path.

Refs PY-2587

Gate inclusion of non-key Redis command arguments in span descriptions
and pipeline command data behind the data_collection.database_query_data
option, which takes precedence over send_default_pii when set. When the
option is disabled, non-key arguments are omitted from the command
description; when unset, it defaults to enabled.

Add test coverage for the enabled/disabled/default cases, precedence
over send_default_pii, and the pipeline path.

Refs PY-2587
Refs #6747
@linear-code

linear-code Bot commented Jul 30, 2026

Copy link
Copy Markdown

PY-2587

@ericapisani ericapisani changed the title feat(redis): Respect data_collection.database_query_data option feat(redis): support data_collection option Jul 30, 2026
@ericapisani
ericapisani marked this pull request as ready for review July 30, 2026 14:07
@ericapisani
ericapisani requested a review from a team as a code owner July 30, 2026 14:07
@github-actions

Copy link
Copy Markdown
Contributor

Codecov Results 📊

99501 passed | ⏭️ 6733 skipped | Total: 106234 | Pass Rate: 93.66% | Execution Time: 350m 33s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -23
Passed Tests 📈 +25
Failed Tests
Skipped Tests 📉 -48

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2496 uncovered lines.
✅ Project coverage is 89.89%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    89.89%    89.89%        —%
==========================================
  Files          193       193         —
  Lines        24681     24686        +5
  Branches      8810      8814        +4
==========================================
+ Hits         22185     22190        +5
- Misses        2496      2496         —
- Partials      1398      1398         —

Generated by Codecov Action

@ericapisani
ericapisani merged commit 0fc0540 into master Jul 30, 2026
145 checks passed
@ericapisani
ericapisani deleted the py-2587-redis branch July 30, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants